package com.cirkana.viewer.qr.model;

import jp.sourceforge.qrcode.data.QRCodeImage;
import android.graphics.Bitmap;

public class QRCodeImageAndroid implements QRCodeImage {

	private Bitmap image;

	public QRCodeImageAndroid(Bitmap image) {
		this.image = image;
	}

	@Override
	public int getHeight() {
		return this.image.getHeight();
	}

	@Override
	public int getPixel(int x, int y) {
		return this.image.getPixel(x, y);
	}

	@Override
	public int getWidth() {
		return this.image.getWidth();
	}

}
